﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ASPNET.Server
{
public class WebServer : System.MarshalByRefObject
{
    public void ProcessRequest(
        string page,
        string query,
        System.IO.TextWriter writer)
    {
        System.Web.Hosting.SimpleWorkerRequest worker
                = new System.Web.Hosting.SimpleWorkerRequest(
                    page,
                    query,
                    writer);

        System.Web.HttpRuntime.ProcessRequest(worker);
    }
}
}
